@mixin commonStyle {
  font-size: 12px;
  transform: scale(0.83);
  color: var(--base-color);
}

.userVideoBuyItem {
  width: 375px;
  height: 205px !important;

  .video_wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    background-image: url("https://ss0.baidu.com/7Po3dSag_xI4khGko9WTAnF6hhy/zhidao/wh%3D600%2C800/sign=ad26a3bf738b4710ce7af5caf3feefc5/b8389b504fc2d56292b28b73e61190ef77c66cf1.jpg");

    .video {
      margin-left: 138px;
      width: auto;
      height: 175px;
    }

    .title {
      font-size: 16px;
      color: #fff;
      position: absolute;
      z-index: 1;
      top: 10px;
      left: 20px;
    }

    .timeOut {
      min-width: 36px;
      height: 36px;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }

    .duration {
      width: 48px;
      height: 24px;
      font-size: 12px;
      color: #fff;
      border-radius: 12px;
      background-color: rgba($color: #333, $alpha: 0.5);
      position: absolute;
      right: 20px;
      bottom: 40px;
      text-align: center;
      line-height: 24px;
    }

    .bought {
      max-width: 35px;
      height: 35px;
      position: absolute;
      right: 0;
    }

    .tollIcon {
      max-width: 30px;
      height: 30px;
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
    }

    .footer {
      width: 100%;
      height: 30px;
      background-color: #fff;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;

      .buyNum,
      .btn_delete {
        @include commonStyle();
      }

      .right {
        display: flex;

        .createTime {
          @include commonStyle();
          margin-right: 20px;
        }
      }
    }
  }
}
